package Zuoye;
public class shuixianhua2{
    public static void main(String[] args) {
        for (int i = 100; i <1000 ; i++) {
            int ge=i/100%10;
            int shi=i% 100/10;
            int bai=i/100;
               if ((ge* ge *ge +shi *shi* shi +bai* bai *bai)==i){
                   System.out.println(i);
               }
        }
    }
}
